<?php
	$id = $_POST['id_produk'];
	$ukuran = $_POST['ukuran'];
	$stok = $_POST['stok'];
	
	$sttmt = $koneksi->exec("insert into stok (id_produk,id_ukuran,stok) values ($id,$ukuran,$stok)");

	$url_sukses="utama.php?module=mod_stok&id=$id";

	if($sttmt){
		echo "<meta http-equiv='refresh' content='0; url=$url_sukses'>";
		exit;
	}else{
		echo mysql_error();
	}
?>